package com.niiwoo.civet.trade.dto.response.guarantee;

import com.niiwoo.civet.trade.enums.GuaranteeTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 担保dubbo服务响应DTO
 *
 * @author liming
 * @date 2018-01-19 11:22
 */
@Getter
@Setter
@ToString
public class GuaranteeResponseDTO<T> extends GuaranteeBaseResponseDTO implements Serializable{

    private static final long serialVersionUID = 6814598793453214037L;
    /**
     * 总担保记录数(guarantees.size())
     */
    private Integer totalGuaranteeNum;

    /**
     * 担保列表详情
     */
    private List<T>  guarantees;

    /**
     * 担保类型枚举
     */
    private GuaranteeTypeEnum type;
}
